package com.jiesone.logger.distributecleaning.entity;
/*
 *@ClassName RequsetLoggerSubmit
 *@Description TODO
 *@Author tangsixiang@163.com
 *@Date 2022/2/17 18:17
 *@Version 1.0
 */

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel("系统日志上报接口")
public class RequsetLoggerSubmit {


    //日志来源编码
    @ApiModelProperty("日志采集来源编码")
    private  String sourceCode;
    //日志详细信息
    @ApiModelProperty("日志详细信息")
    private  String loggerMes;
    //日志上报时间
    @ApiModelProperty(value = "日志上报时间",example = "2022-03-11 12:13:08")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss",iso = DateTimeFormat.ISO.DATE_TIME)
    private Date   eventTime;


    public String getSourceCode() {
        return sourceCode;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public String getLoggerMes() {
        return loggerMes;
    }

    public void setLoggerMes(String loggerMes) {
        this.loggerMes = loggerMes;
    }

    public Date getEventTime() {
        return eventTime;
    }

    public void setEventTime(Date eventTime) {
        this.eventTime = eventTime;
    }
}
